#ifndef MAX31865_H
#define MAX31865_H
#include "mbed.h"
//Serial pc(SERIAL_TX, SERIAL_RX);
void test(unsigned int *cs,unsigned int *sclk,unsigned int *sdi);
void max31865_init(void);
void max31865_write_type(unsigned char data);
unsigned char max31865_read_data(unsigned char chx,unsigned char add);
void max31865_write_data(unsigned char chx,unsigned char add,unsigned char data);
#endif

